﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ConstantCMapEditor3
{
    public partial class EditScriptForm : Form
    {
        public EditScriptForm()
        {
            InitializeComponent();
        }

        static public Boolean ok;
        static public String target;
        static public String Result;


        private void EditScriptForm_Load(object sender, EventArgs e)
        {
            ok = false;
            textBox1.Text = target;
            Result = target;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            ok = true;
            Result = textBox1.Text;
            Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            ok = false;
            Close();
        }


    }
}
